package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-02-22
 */
@TableName("vpn_payment_list")
public class VpnPaymentList extends Model<VpnPaymentList> {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户ID
     */
    @TableField("user_id")
    private String userId;
    /**
     * 用户名称
     */
    @TableField("user_name")
    private String userName;
    /**
     * 套餐名称
     */
    @TableField("package_name")
    private String packageName;
    /**
     * 支付渠道
     */
    @TableField("pay_channel")
    private String payChannel;
    /**
     * 支付方式
     */
    @TableField("pay_way")
    private String payWay;
    /**
     * 支付时间
     */
    @TableField("payment_time")
    private String paymentTime;
    /**
     * 支付开始时间
     */
    @TableField("payment_start_time")
    private String paymentStartTime;
    /**
     * 支付结束时间
     */
    @TableField("payment_end_time")
    private String paymentEndTime;
    /**
     * 收取金额
     */
    @TableField("charge_amount")
    private String chargeAmount;
    /**
     * 折扣金额
     */
    @TableField("discount_amount")
    private String discountAmount;
    /**
     * 实际价格
     */
    @TableField("real_price")
    private String realPrice;
    /**
     * 套餐价格
     */
    @TableField("plan_price")
    private String planPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getPaymentStartTime() {
        return paymentStartTime;
    }

    public void setPaymentStartTime(String paymentStartTime) {
        this.paymentStartTime = paymentStartTime;
    }

    public String getPaymentEndTime() {
        return paymentEndTime;
    }

    public void setPaymentEndTime(String paymentEndTime) {
        this.paymentEndTime = paymentEndTime;
    }

    public String getChargeAmount() {
        return chargeAmount;
    }

    public void setChargeAmount(String chargeAmount) {
        this.chargeAmount = chargeAmount;
    }

    public String getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(String discountAmount) {
        this.discountAmount = discountAmount;
    }

    public String getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(String realPrice) {
        this.realPrice = realPrice;
    }

    public String getPlanPrice() {
        return planPrice;
    }

    public void setPlanPrice(String planPrice) {
        this.planPrice = planPrice;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "VpnPaymentList{" +
        "id=" + id +
        ", userId=" + userId +
        ", userName=" + userName +
        ", packageName=" + packageName +
        ", payChannel=" + payChannel +
        ", payWay=" + payWay +
        ", paymentTime=" + paymentTime +
        ", paymentStartTime=" + paymentStartTime +
        ", paymentEndTime=" + paymentEndTime +
        ", chargeAmount=" + chargeAmount +
        ", discountAmount=" + discountAmount +
        ", realPrice=" + realPrice +
        ", planPrice=" + planPrice +
        "}";
    }
}
